home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Ultimate Frank Lloyd…ght - America's Architect
/
Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso
/
pre
/
flw
/
shared.dir
/
01063_Script_1063
< prev
next >
Wrap
Text File
|
1994-11-15
|
444b
|
20 lines
on soundP chan, sndPath
global obj,soundDur,deltaTicks
sound playFile chan, sndPath
if objectP(Obj) then Obj(mDispose)
openXlib "aiff"
set Obj = aiff(mNew)
set soundDur = Obj(mDuration,sndPath)
Obj(mDispose)
closeXlib "aiff"
set deltaTicks = the ticks
end soundP
on soundB chan
global sounDur,deltaTicks
if ((the ticks) - deltaTicks) < soundDur then
return 1
else
return 0
end if
end soundB